/**
 * Created on 2009-8-18
 * @author liuld
 * All Rights Reserved
 */
package ims.com.shlcm.utils;

import java.io.UnsupportedEncodingException;

import javax.servlet.jsp.PageContext;

import wt.util.WTMessage;

/**
 * Created on 2009-8-18
 * @author liuld
 * 
 */
public class JSPBasicSC extends JSPBasic {
   public static final String LF = "\n";

   public JSPBasicSC(PageContext pc, boolean getWriter) throws UnsupportedEncodingException {
      super(pc, getWriter);
   }

   public String _T(String s) {
      return _T(s, s);
   }

   public String _T(String rbundle, String key, Object[] args) {
      return WTMessage.getLocalizedMessage(rbundle, key, args);
   }

   public static boolean eon(String s) {
      return s == null || s.isEmpty();
   }
}
